<?php
include_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();

class RegisterForm3 extends Zend_Form
{
	/**
	 * Register_Form_3
	 *
	 * @var Register_Form_3
	 */
	protected static $_instance;	
	
	/**
	 * Zend_View
	 *
	 * @var Zend_View
	 */
	static protected $_tmpView;	
	
	public function getInstance()
	{
		if(null == self::$_instance){	
			self::$_instance = new self();
		}
		
		return self::$_instance;
	}
	
	/**
	 * 
	 * Form for Register Step 2
	 *
	 */
	public function __construct($options = null)
	{
		
		if(null == self::$_tmpView)
		{
			self::$_tmpView = new Zend_View();
		}
		
		$this->setAttribs(array(
			'id' 	=> 'register-form3',
			'name' 	=> 'register-form3',
			'action'=> $installDir['value'].'index.php?case=account&act=register',
			'method'=> 'POST'
		));
	}
	
	public function render()
	{
		return parent::render(self::$_tmpView);
	}	
}

?>